All files / vidly/startup config.js

75% Statements 3/4
50% Branches 1/2
100% Functions 1/1
75% Lines 3/4
1 2 3 4 5 6 72x   2x 2x      
const config = require('config');
 
module.exports = function() {
  Iif (!config.get('jwtPrivateKey')) {
    throw new Error('FATAL ERROR: jwtPrivateKey is not defined.');
  }
}